package day02.edu;

// Created: 09/02/2025, ChangJiang Ru
public class Employee {
    private String name;
    private int age;
    public Status status;

    public Employee()
    {

    }

    public Employee(String name, int age, Status status)
    {
        this.name = name;
        this.age = age;
        this.status = status;
    }

    public String getName()
    {
        return this.name;
    }

    public int getAge()
    {
        return this.age;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public void setAge(int age)
    {
        this.age = age;
    }

    /*
    public Status getStatus()
    {
        return this.status;
    }

     */

    public void setStatus(Status status)
    {
        this.status = status;
    }

    @Override
    public String toString()
    {
        return "Employee{" +
                "name = '" + this.getName() + '\'' +
                ", age = '" + this.getAge() + '\'' +
                ", status = '" + this.status+ '\'' +
                '}';
    }
}
